home *** CD-ROM | disk | FTP | other *** search
- Path: stc06.ctd.ornl.gov!mbk
- From: mbk@jt3ws1.etd.ornl.gov (Kennel)
- Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.lang.eiffel
- Subject: Re: Hungarian notation
- Followup-To: comp.lang.misc
- Date: 25 Jan 1996 17:59:10 GMT
- Organization: Oak Ridge National Lab, Oak Ridge, TN
- Message-ID: <4e8gde$57n@stc06.ctd.ornl.gov>
- References: <30C40F77.53B5@swsbbs.com> <4d2ok0$69s@beach.and.nl> <4dtv3gINNo9u@keats.ugrad.cs.ubc.ca> <SPENCER.96Jan22113215@zorgon.ERA.COM> <4e1nd8$hv0@solutions.solon.com> <3104bfc8.132251392@nntp.ix.netcom.com> <dewar.822407919@schonberg>
- Reply-To: kennel@msr.epm.ornl.gov
- NNTP-Posting-Host: jt3ws1.etd.ornl.gov
- X-Newsreader: TIN [version 1.2 PL2]
-
- Robert Dewar (dewar@cs.nyu.edu) wrote:
- > Michael says (talking about overflow in C)
-
- > "An implementation must handle this and must document how it does so."
-
- > Yes, of course the documentation may say that the result is to delete
- > your system disk. Even if a more reasonable behavior is described, any
- > program relying on such an implementation dependent feature is of
- > course compromising its portability. One of the troubles with C is
- > that it is oh-so-easy to introduce implementation dependence.
-
- > It is interesting to note that a number of "bug" reports sent into gcc
- > are complaints that GCC does not duplicate some implementation
- > dependent behavior seen in some other compiler.
-
- This is typically taken as a fault in the people submitting the bug reports.
-
- I do not. I'm sympathetic to 'ordinary' people, and harsh on computers and
- their designers.
-
- So like Mr. Dewar, I see this as empirical evidence that C (and some ways
- C++) permit and encourage far too much implementation dependence. Really,
- this *IS* a fault in the language design. Just documenting it and saying
- "you're a bad dog for doing X Y and Z" does not fix the real source of the
- problem.
-
- For C it was reasonably justified given the circumstances and age.
-
- For a modern object-oriented applications development it's inexcusable.
-
-